class RecursoSala < ActiveRecord::Base
	validates :quantidade, :presence => true, :numericality => { :only_integer => true, :greater_than_or_equal_to => 1 }
  belongs_to :sala
  belongs_to :recurso
end
